<?php

class psql_recordset extends fiasco_recordset
{

	protected $recordset = null;

	public function __construct($psql_db_recordset) {
		$this->recordset = $psql_db_recordset;
	}

	public function db_num_rows()
	{
		return pg_num_rows($this->recordset);	
	}

	public function fetch_object()
	{
		return pg_fetch_object($this->recordset);
	}

}
